#include <iostream>
#include "fac.hpp"

using namespace std;

int fac(int Order)
{   
    int i;
    unsigned long int sum = 1;

    for ( i = 1; i <= Order; i++)
    {
       sum = sum*i;
       cout << i << "! = " << sum <<endl;
    }
    

return 0;
}


